package com.wy.powerbuilder.service.ld;

import com.github.pagehelper.PageInfo;
import com.wy.powerbuilder.entity.ld.User;
import org.apache.shiro.authz.annotation.RequiresRoles;

import java.util.Set;

public interface UserService {
    User getUser(String name);
    Set<String> getMenu(String name);
    PageInfo<User> pageAll(Integer pageNo,String u_userName);
    Integer upState(User user);
    Integer delUser(Integer id);
    Integer addAdmin(User user);
    User showUser(int id);
    Integer updateAdmin(User user);
}
